home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / run-proclaim.z / run-proclaim
Text File  |  1998-10-30  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4. rrrruuuunnnn----pppprrrrooooccccllllaaaaiiiimmmm((((1111MMMM))))                                              rrrruuuunnnn----pppprrrrooooccccllllaaaaiiiimmmm((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      run-proclaim - proclaim initialization, shutdown, and status script
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////eeeettttcccc////iiiinnnniiiitttt....dddd////rrrruuuunnnn----pppprrrrooooccccllllaaaaiiiimmmm [ ssssttttaaaarrrrtttt | ssssttttoooopppp | ssssuuuurrrrrrrreeeennnnddddeeeerrrr | vvvveeeerrrriiiiffffyyyy | ssssttttaaaattttuuuussss ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The _r_u_n-_p_r_o_c_l_a_i_m shell script is called during system startup from
  16.      /_e_t_c/_r_c_2 to obtain (or verify) an IP address and host configuration
  17.      parameters.  The script is called during system shutdown from /_e_t_c/_r_c_0 to
  18.      gracefully kill the _p_r_o_c_l_a_i_m(1) client.
  19.  
  20.      The arguments to _r_u_n-_p_r_o_c_l_a_i_m are:
  21.  
  22.      ssssttttaaaarrrrtttt      Do the following, using the configuration flags described
  23.                 below:
  24.  
  25.                 +o  Kill any existing _p_r_o_c_l_a_i_m clients.
  26.  
  27.                 +o  Run the _p_r_o_c_l_a_i_m client with the ----iiii option to verify an
  28.                    existing lease if one exists and obtain a new address lease
  29.                    if one does not exist. This option also invokes the
  30.                    _p_r_o_c_l_a_i_m client for any non-primary interfaces on the
  31.                    system depending on options specified in the
  32.                    /_e_t_c/_c_o_n_f_i_g/_p_r_o_c_l_a_i_m._o_p_t_i_o_n_s file.
  33.  
  34.                 +o  Run the /_u_s_r/_e_t_c/_d_h_c_p_c_o_p_t script to act on options received
  35.                    by the client. For example, if a router address was
  36.                    returned it is used to setup a static route.
  37.  
  38.      ssssttttoooopppp       Gracefully terminate the client.
  39.  
  40.      ssssuuuurrrrrrrreeeennnnddddeeeerrrr  Signal a running _p_r_o_c_l_a_i_m client to terminate the lease.
  41.  
  42.      vvvveeeerrrriiiiffffyyyy     Signal a running _p_r_o_c_l_a_i_m client to verify the existing
  43.                 address and extend or obtain a lease.
  44.  
  45.      ssssttttaaaattttuuuussss     Display the current status of the address lease as it was
  46.                 recorded in the /_v_a_r/_a_d_m/_p_r_o_c_l_a_i_m._l_e_a_s_e__i_n_f_o file when the
  47.                 lease was obtained.
  48.  
  49. CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFLLLLAAAAGGGGSSSS
  50.      A daemon or subsystem is enabled if its configuration flag in the
  51.      /_e_t_c/_c_o_n_f_i_g directory is in the oooonnnn state.  If a flag file is missing, the
  52.      flag is considered off.  Use the _c_h_k_c_o_n_f_i_g(1M) command to turn a flag on
  53.      or off.  For example,
  54.  
  55.           _cccc_hhhh_kkkk_cccc_oooo_nnnn_ffff_iiii_gggg _tttt_iiii_mmmm_eeee_dddd _oooo_nnnn
  56.  
  57.      enables the ttttiiiimmmmeeeedddd flag.  When invoked without arguments, _c_h_k_c_o_n_f_i_g prints
  58.      the state of all known flags.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. rrrruuuunnnn----pppprrrrooooccccllllaaaaiiiimmmm((((1111MMMM))))                                              rrrruuuunnnn----pppprrrrooooccccllllaaaaiiiimmmm((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      There are two flags, vvvveeeerrrrbbbboooosssseeee and aaaauuuuttttooooccccoooonnnnffffiiiigggg____iiiippppaaaaddddddddrrrreeeessssssss that control the
  75.      behavior of the _r_u_n-_p_r_o_c_l_a_i_m script.  The vvvveeeerrrrbbbboooosssseeee flag controls the
  76.      printing of messages from the script.  The aaaauuuuttttooooccccoooonnnnffffiiiigggg____iiiippppaaaaddddddddrrrreeeessssssss flag
  77.      controls the use of the _p_r_o_c_l_a_i_m client for auto configuration of the
  78.      host.  If auto configuration and address leases are not in use then this
  79.      flag should be turned off.
  80.  
  81.      Site-dependent options for _p_r_o_c_l_a_i_m belong in the
  82.      /_e_t_c/_c_o_n_f_i_g/_p_r_o_c_l_a_i_m._o_p_t_i_o_n_s file.
  83.  
  84.      See /_e_t_c/_i_n_i_t._d/_r_u_n-_p_r_o_c_l_a_i_m for the general format of the script.
  85.  
  86. FFFFIIIILLLLEEEESSSS
  87.      /etc/rc0.d/K41proclaim           linked to /_e_t_c/_i_n_i_t._d/_r_u_n-_p_r_o_c_l_a_i_m
  88.      /etc/rc2.d/S31proclaim           linked to /_e_t_c/_i_n_i_t/_d/_r_u_n-_p_r_o_c_l_a_i_m
  89.      /etc/config/proclaim.options     values of options; see _p_r_o_c_l_a_i_m(1M)
  90.      /var/adm/proclaim.lease_info*    status of current address lease
  91.      /usr/etc/dhcpcopt                script file to act on options values
  92.  
  93. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  94.      chkconfig(1M), proclaim(1M), rc0(1M), rc2(1M).
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.